﻿using System;
using System.Collections.Generic;
using System.Text;
using MAF.Common;

namespace My.GenCode.Entities
{
    public class EntityInfo
    {
        private string _Name;
        private string _Service;
        private string _Company;
        private string _CopyRight;

        private IList<PropertyInfo> _Properties;

        public string Name
        {
            get { return _Name; }
            set { _Name = WordsConverter.ToPascalCase(value); }
        }
        
        public string Service
        {
            get { return _Service; }
            set { _Service = value; }
        }
        
        public string Company
        {
            get { return _Company; }
            set { _Company = value; }
        }
        
        public string CopyRight
        {
            get { return _CopyRight; }
            set { _CopyRight = value; }
        }

        public IList<PropertyInfo> Properties
        {
            get { return _Properties; }
            set { _Properties = value; }
        }
    }
}